package com.ruoyi.parkingcar.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 收费规则对象 park_rules
 * 
 * @author 饼干
 * @date 2025-02-08
 */
public class ParkRules extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 规则ID */
    private Long rulesId;

    /** 单日封顶金额 */
    @Excel(name = "单日封顶金额")
    private BigDecimal maxPrice;

    /** 免费停车/小时 */
    @Excel(name = "免费停车/小时")
    private Long freeTime;

    /** 基础单价 */
    @Excel(name = "基础单价")
    private BigDecimal basePrice;

    /** 基础单价/时间 */
    @Excel(name = "基础单价/时间")
    private Long baseTime;

    /** 标准单价 */
    @Excel(name = "标准单价")
    private BigDecimal price;

    /** 状态 */
    @Excel(name = "状态")
    private Integer rulesStatus;

    /** 描述 */
    @Excel(name = "描述")
    private String node;

    public void setRulesId(Long rulesId) 
    {
        this.rulesId = rulesId;
    }

    public Long getRulesId() 
    {
        return rulesId;
    }
    public void setMaxPrice(BigDecimal maxPrice) 
    {
        this.maxPrice = maxPrice;
    }

    public BigDecimal getMaxPrice() 
    {
        return maxPrice;
    }
    public void setFreeTime(Long freeTime) 
    {
        this.freeTime = freeTime;
    }

    public Long getFreeTime() 
    {
        return freeTime;
    }
    public void setBasePrice(BigDecimal basePrice) 
    {
        this.basePrice = basePrice;
    }

    public BigDecimal getBasePrice() 
    {
        return basePrice;
    }
    public void setBaseTime(Long baseTime) 
    {
        this.baseTime = baseTime;
    }

    public Long getBaseTime() 
    {
        return baseTime;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setRulesStatus(Integer rulesStatus) 
    {
        this.rulesStatus = rulesStatus;
    }

    public Integer getRulesStatus() 
    {
        return rulesStatus;
    }
    public void setNode(String node) 
    {
        this.node = node;
    }

    public String getNode() 
    {
        return node;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("rulesId", getRulesId())
            .append("maxPrice", getMaxPrice())
            .append("freeTime", getFreeTime())
            .append("basePrice", getBasePrice())
            .append("baseTime", getBaseTime())
            .append("price", getPrice())
            .append("rulesStatus", getRulesStatus())
            .append("node", getNode())
            .toString();
    }
}
